//
//  AiYueApi.h
//  AiYue
//
//  Created by mac on 2023/10/9.
//

#ifndef AiYueApi_h
#define AiYueApi_h

#define debug 0  //调试模式开关

#if debug == 0
//线上生产：
static NSString *const kUrl = @"https://api.iyykj.cn/";

#else
//测试环境:
static NSString *const kUrl = @"https://249qk40774.zicp.vip/";
#endif

#ifdef DEBUG
#define Log(...) NSLog(__VA_ARGS__)
#else
#define Log(...)
#endif

#ifdef DEBUG
#define NSLog(format, ...) printf("\n[%s] %s [第%d行] %s\n", __TIME__, __FUNCTION__, __LINE__, [[NSString stringWithFormat:format, ## __VA_ARGS__] UTF8String]);
#else
#define NSLog(format, ...)
#endif

#endif /* AiYueApi_h */
